Skip to main content

All Questions

1vote
1answer
533views

Loop through data layer and display dynamic content [closed]

The purpose of the pricingTest object is to grab pricing information from the dataLayer on the page and render content blocks accordingly. My goal in posting this is to hopefully receive some feedback ...
jman25's user avatar
6votes
1answer
128views

Accessing a REST WebService and updating local HTML objects with Modular JS

I have this code I am doing to make my code modular js: ...
Brittany Rutherford's user avatar
0votes
1answer
4kviews

Show bubble animation on a web page

This code basically generates a random number of bubbles that animate from bottom of the screen to the top and repeats. When the mouse is in a certain distance (proximity) of the bubbles it scales ...
bright's user avatar
3votes
1answer
237views

jQuery menus, click handlers, and scroll effects for a website

So far, I've been using codes based on solutions other people wrote, and I'm trying to learn by modifying those codes. My problem now is that my code ended up too messy (a lot of script tags, jquery ...
Felipe Felix de Luca's user avatar
0votes
1answer
368views

Optimizing jQuery/JS Switch Statement

I am trying to optimize the following switch statement, but I'm having a brain fart about how to do it. Here's the code: ...
SuperTony's user avatar
3votes
1answer
123views

Cleaning up website code

I am a bit of noob to jQuery so I got this jQuery code what I think can be way faster. Does someone want to help me clean it up? Explaining why you did what would be real nice but not needed. The ...
Jesse Uilenreef's user avatar
5votes
1answer
2kviews

Responsive jQuery restaurant menu system

I have a working restaurant menu system - as the user selects a menu it slides into view. The build is responsive, and I've used the 'Debounced Resize() jQuery Plugin'. However, in implementing the ...
Sam Holguin's user avatar
2votes
1answer
22kviews

Basic calculator in jQuery

I have been using HTML and CSS for a long time, and just starting to learn jQuery. I created a calculator by myself from research and trial and error. I would like someone to let me know what I'm ...
David's user avatar
4votes
1answer
611views

Highlighting a nav list item based on the user's scroll position in that same page

You can see the JavaScript at the end of this post in action here. I've recently picked up JavaScript/jQuery and would love some feedback on how I'm implementing this functionality. As you can see, ...
Mister Oh's user avatar
2votes
2answers
1kviews

jQuery script to toggle an element and handle a Close button

First of all: I am a total javascript beginner and therefore I am asking you to rate my script and tell me whether its okay or just a big mess. Note: it does work, but I guess it could be improved. ...
r0skar's user avatar

close